package com.disgnpattern.learn.chapter9.before;

/**
 * @author dxy
 * @version 1.0
 * @date 12:48
 * @decripton 测试
 * @mail victorydeng@163.com
 */
public class Test {
    public static void main(String[] args) throws CloneNotSupportedException {
        Resume resumeA = new Resume("张无忌");
        resumeA.setPersonalInfo("18","男");
        resumeA.setWorkExperience("533-537","武当派");

        Resume resumeB  = resumeA.clone();
        resumeB.setWorkExperience("537-538", "波斯");

        Resume resumeC  = resumeA.clone();
        resumeC.setWorkExperience("537-538", "波斯");

        resumeA.display();
        resumeB.display();
        resumeC.display();



//        Resume resumeB = new Resume("周芷若");
//        resumeB.setPersonalInfo("25","女");
//        resumeB.setWorkExperience("555-559", "峨眉派");
//
//        Resume resumeC = new Resume("赵敏");
//        resumeC.setPersonalInfo("23","女");
//        resumeC.setWorkExperience("554-558", "王府");
//
//        resumeA.display();
//        resumeB.display();
//        resumeC.display();



    }
}
